<!--
<span class = "menuBox"><a href = "/admin/category/home">管理分类</a></span>
<span class = "menuBox"><a href = "/admin/page/list/type/news">管理新闻</a></span>
<span class = "menuBox"><a href = "/admin/page/list/type/about">管理简介</a></span>
<span class = "menuBox"><a href = "/admin/page/list/type/blog">管理博客</a></span>
<span class = "menuBox"><a href = "/admin/community/home">管理论坛</a></span>
<span class = "menuBox"><a href = "/admin/user/home">管理用户</a></span>
-->
<h3 class="adminTitle">首页</h3>
<div class="aligncenter">
    <?php
//        $url = 'https://www.zhihu.com/rss';
//        $this->EduNews($url, 3);
        $localVersion = file_get_contents(MS_PATH . '/version.txt');
        $localVersion = explode(',',$localVersion);
        $latestVersion = file_get_contents('https://raw.githubusercontent.com/mao-shen/ms-zf/master/ms/version.txt');
        $latestVersion = explode(',',$latestVersion);
        if($latestVersion[0] > $localVersion[0]) {
            echo "检测到有新版本，当前版本是{$localVersion[1]}，最新版本是{$latestVersion[1]}。";
        } else {
            echo "无最新版本，当前版本是{$localVersion[1]}。";
        }
    //?>
</div>
